package com.hxl.linuxfilemanager.util;

import java.io.BufferedReader;
import java.io.IOException;

public class IOUtils {
    public static String readString(BufferedReader bufferedReader) {
        try {
            String buffer = "";
            StringBuffer stringBuffer = new StringBuffer();
            while ((buffer = bufferedReader.readLine()) != null) {
                stringBuffer.append(buffer);
            }
            return stringBuffer.toString();
        } catch (IOException e) {

        }
        return null;
    }
}
